package com.chuangping.mvp.model.api;


import com.chuangping.mvp.model.entity.Login;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.PUT;

/**
 * Created by jks27 on 2018/2/28.
 */

public interface LoginService {


    @FormUrlEncoded
    @PUT("/login")
    Observable<Login> login(@Header("name") String name, @Header("pwd") String pwd);


}
